Joey Hess [Wed, 1 Jan 2025 18:15:55 +0000 (14:15 -0400)]
remove i386ancient and need at least debian stable to build
* Removed the i386ancient standalone tarball build for linux, which
was increasingly unable to support new git-annex features.
* Removed support for building with ghc older than 9.0.2,
and with older versions of haskell libraries than are in current Debian
stable.
* stack.yaml: Update to lts-23.2.
Note that i386ancient was targeting linux 2.6.32, which has been EOL for
over 9 years now. Any old system still using such a kernel is certainly highly
insecure. And I suspect i386ancient had its own insecurities due to haskell
libraries and C libraries not having been updated.
Joey Hess [Wed, 1 Jan 2025 17:12:56 +0000 (13:12 -0400)]
move old fixed datalad/dandi/repronim bugs to the project pages
As done previously in 2023 in commit
bcc69f07e81c058eb5d01f4d34c550c49f0631fb
Commands used:
for f in $(git grep -l '\[\[!tag projects/dandi\]\]'); do if grep -q 'done\]\]' "$f"; then git mv "$f" ../projects/dandi/bugs-done; g=$(echo "$f" | sed 's/.mdwn//'); if [ -d "$g" ]; then git mv "$g" ../projects/dandi/bugs-done; fi; fi; done
for f in $(git grep -l '\[\[!tag projects/repronim\]\]'); do if grep -q 'done\]\]' "$f"; then git mv "$f" ../projects/repronim/bugs-done; g=$(echo "$f" | sed 's/.mdwn//'); if [ -d "$g" ]; then git mv "$g" ../projects/repronim/bugs-done; fi; fi; done
for f in $(git grep -l '\[\[!tag projects/datalad\]\]'); do if grep -q 'done\]\]' "$f"; then git mv "$f" ../projects/datalad/bugs-done; g=$(echo "$f" | sed 's/.mdwn//'); if [ -d "$g" ]; then git mv "$g" ../projects/datalad/bugs-done; fi; fi; done
Joey Hess [Wed, 1 Jan 2025 17:09:36 +0000 (13:09 -0400)]
remove old closed bugs and todo items to speed up wiki updates and reduce size
Remove closed bugs and todos that were last edited or commented before 2024.
Except for ones tagged projects/* since projects like datalad want to keep
around records of old deleted bugs longer.
Command line used:
for f in $(grep -l '|done\]\]' -- ./*.mdwn); do if ! grep -q "projects/" "$f"; then d="$(echo "$f" | sed 's/.mdwn$//')"; if [ -z "$(git log --since=01-01-2024 --pretty=oneline -- "$f")" -a -z "$(git log --since=01-01-2024 --pretty=oneline -- "$d")" ]; then git rm -- "./$f" ; git rm -rf "./$d"; fi; fi; done
for f in $(grep -l '\[\[done\]\]' -- ./*.mdwn); do if ! grep -q "projects/" "$f"; then d="$(echo "$f" | sed 's/.mdwn$//')"; if [ -z "$(git log --since=01-01-2024 --pretty=oneline -- "$f")" -a -z "$(git log --since=01-01-2024 --pretty=oneline -- "$d")" ]; then git rm -- "./$f" ; git rm -rf "./$d"; fi; fi; done
Spencer [Sun, 29 Dec 2024 09:18:56 +0000 (09:18 +0000)]
Doable8234 [Fri, 27 Dec 2024 05:30:53 +0000 (05:30 +0000)]
aaron [Mon, 23 Dec 2024 16:11:29 +0000 (16:11 +0000)]
Added a comment
guardcat [Fri, 20 Dec 2024 10:22:38 +0000 (10:22 +0000)]
lell [Fri, 20 Dec 2024 09:29:28 +0000 (09:29 +0000)]
lell [Fri, 20 Dec 2024 09:29:10 +0000 (09:29 +0000)]
psxvoid [Fri, 20 Dec 2024 07:27:43 +0000 (07:27 +0000)]
Added a comment: update 4: union is correct
psxvoid [Fri, 20 Dec 2024 07:12:59 +0000 (07:12 +0000)]
Added a comment: update 3: strange union behavior
psxvoid [Fri, 20 Dec 2024 06:52:57 +0000 (06:52 +0000)]
Added a comment: update: unset directory is cool feature, but not always work
psxvoid [Thu, 19 Dec 2024 17:49:52 +0000 (17:49 +0000)]
Added a comment: unset directory is cool feature, but not always work
Joey Hess [Thu, 19 Dec 2024 15:44:32 +0000 (11:44 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 19 Dec 2024 15:43:22 +0000 (11:43 -0400)]
annex.addunlocked support for tree imports
Honor annex.addunlocked configuration when importing a tree from a special
remote.
Note, in a --no-content import, the object file will not be populated
(usually) and so expressions that match on mime type will not match. Tested
this and it works ok, the file just ends up locked. Updated docs for the
mime expressions to mention that they can't match when the file is present
Note that in Command.Sync.pullThirdPartyPopulated, recordImportTree is
called without a AddUnlockedMatcher. Since the tree generated here is not
exposed to the user and does not contain usual filenames, there is no need
of the overhead of checking it.
Joey Hess [Wed, 18 Dec 2024 23:59:15 +0000 (19:59 -0400)]
comment and close
Joey Hess [Wed, 18 Dec 2024 23:44:25 +0000 (19:44 -0400)]
close since --include works
Basile.Pinsard [Wed, 18 Dec 2024 19:35:00 +0000 (19:35 +0000)]
Added a comment: Sync git-annex metadata subset with S3 metadata.
Joey Hess [Wed, 18 Dec 2024 19:20:44 +0000 (15:20 -0400)]
comments
eugen [Wed, 18 Dec 2024 18:01:04 +0000 (18:01 +0000)]
Added a comment: thank you!
Joey Hess [Wed, 18 Dec 2024 16:00:44 +0000 (12:00 -0400)]
fix comment display
Joey Hess [Tue, 17 Dec 2024 19:03:25 +0000 (15:03 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 17 Dec 2024 18:51:25 +0000 (14:51 -0400)]
update
matrss [Mon, 16 Dec 2024 22:48:16 +0000 (22:48 +0000)]
Added a comment
matrss [Mon, 16 Dec 2024 22:19:34 +0000 (22:19 +0000)]
Added a comment
matrss [Mon, 16 Dec 2024 22:02:42 +0000 (22:02 +0000)]
Doable8234 [Mon, 16 Dec 2024 08:24:32 +0000 (08:24 +0000)]
Added a comment
Doable8234 [Mon, 16 Dec 2024 08:20:44 +0000 (08:20 +0000)]
Added a comment
matrss [Sun, 15 Dec 2024 23:39:34 +0000 (23:39 +0000)]
Added a comment
matrss [Sun, 15 Dec 2024 18:13:00 +0000 (18:13 +0000)]
Added a comment
eugen [Sat, 14 Dec 2024 17:48:08 +0000 (17:48 +0000)]
Doable8234 [Sat, 14 Dec 2024 08:15:22 +0000 (08:15 +0000)]
Added a comment
matrss [Fri, 13 Dec 2024 22:02:15 +0000 (22:02 +0000)]
Added a comment
Joey Hess [Fri, 13 Dec 2024 17:31:21 +0000 (13:31 -0400)]
document empty expression
Joey Hess [Fri, 13 Dec 2024 17:26:48 +0000 (13:26 -0400)]
empty preferred content
* Document that settting preferred content to "" is the same as the
default unset behavior.
* sync: Avoid misleading warning about future preferred content
transition when preferred content is set to "".
Doable8234 [Fri, 13 Dec 2024 02:04:40 +0000 (02:04 +0000)]
Added a comment
Joey Hess [Thu, 12 Dec 2024 18:29:29 +0000 (14:29 -0400)]
response
Joey Hess [Thu, 12 Dec 2024 18:24:57 +0000 (14:24 -0400)]
comment
Doable8234 [Thu, 12 Dec 2024 05:16:49 +0000 (05:16 +0000)]
Doable8234 [Thu, 12 Dec 2024 04:57:37 +0000 (04:57 +0000)]
Doable8234 [Thu, 12 Dec 2024 04:53:22 +0000 (04:53 +0000)]
vince@56a3a35e623d01b9236e911a9caff71eb367399b [Sun, 8 Dec 2024 20:34:35 +0000 (20:34 +0000)]
Added a comment: we use something like that..
vince@56a3a35e623d01b9236e911a9caff71eb367399b [Sun, 8 Dec 2024 20:26:18 +0000 (20:26 +0000)]
matrss [Sun, 8 Dec 2024 17:28:48 +0000 (17:28 +0000)]
matrss [Sun, 8 Dec 2024 17:27:59 +0000 (17:27 +0000)]
Added a comment
matrss [Sun, 8 Dec 2024 17:20:50 +0000 (17:20 +0000)]
Joey Hess [Wed, 4 Dec 2024 17:44:48 +0000 (13:44 -0400)]
close
Joey Hess [Wed, 4 Dec 2024 17:44:19 +0000 (13:44 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 3 Dec 2024 20:33:03 +0000 (16:33 -0400)]
comments
yarikoptic [Tue, 3 Dec 2024 20:26:10 +0000 (20:26 +0000)]
Added a comment
Joey Hess [Tue, 3 Dec 2024 18:39:30 +0000 (14:39 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 3 Dec 2024 18:01:35 +0000 (14:01 -0400)]
annexInsteadOf config
Added config `url.<base>.annexInsteadOf` corresponding to git's
`url.<base>.pushInsteadOf`, to configure the urls to use for accessing the
git-annex repositories on a server without needing to configure
remote.name.annexUrl in each repository.
While one use case for this would be rewriting urls to use annex+http,
I decided not to add any kind of special case for that. So while
git-annex p2phttp, when serving multiple repositories, needs an url
of eg "annex+http://example.com/git-annex/ for each of them, rewriting an
url like "https://example.com/git/foo/bar" with this config set to
"https://example.com/git/" will result in eg
"annex+http://example.com/git-annex/foo/bar", which p2phttp does not
support.
That seems better dealt with in either git-annex p2phttp or a http
middleware, rather than complicating the config with a special case for
annex+http.
Anyway, there are other use cases for this that don't involve annex+http.
Joey Hess [Tue, 3 Dec 2024 17:00:14 +0000 (13:00 -0400)]
comments
iirekm [Tue, 3 Dec 2024 15:43:25 +0000 (15:43 +0000)]
Added a comment
Joey Hess [Tue, 3 Dec 2024 15:34:49 +0000 (11:34 -0400)]
comment
iirekm [Tue, 3 Dec 2024 15:28:22 +0000 (15:28 +0000)]
david@1439a1cab13195a56248b6a8fd98a62028bcba8a [Mon, 2 Dec 2024 20:25:34 +0000 (20:25 +0000)]
Added a comment: Maybe explanation
Joey Hess [Mon, 2 Dec 2024 18:07:43 +0000 (14:07 -0400)]
comment
Joey Hess [Mon, 2 Dec 2024 18:05:15 +0000 (14:05 -0400)]
comment typo
Joey Hess [Mon, 2 Dec 2024 17:47:51 +0000 (13:47 -0400)]
deal with git's CFLR nonsense once again
Work around git hash-object --stdin-paths's odd stripping of carriage
return from the end of the line (some windows infection), avoiding crashing
when the repo contains a filename ending in a carriage return.
Joey Hess [Mon, 2 Dec 2024 16:36:44 +0000 (12:36 -0400)]
add news item for git-annex 10.
20241202
Joey Hess [Mon, 2 Dec 2024 16:36:24 +0000 (12:36 -0400)]
releasing package git-annex version 10.
20241202
Joey Hess [Mon, 2 Dec 2024 16:34:08 +0000 (12:34 -0400)]
forgot to add this comment earlier
psxvoid [Wed, 27 Nov 2024 09:08:32 +0000 (09:08 +0000)]
Added a comment: thanks and the followup
ljc [Wed, 27 Nov 2024 07:31:13 +0000 (07:31 +0000)]
Joey Hess [Mon, 25 Nov 2024 16:32:09 +0000 (12:32 -0400)]
comment
Joey Hess [Mon, 25 Nov 2024 16:16:32 +0000 (12:16 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 25 Nov 2024 16:14:18 +0000 (12:14 -0400)]
git-remote-annex: Fix buggy behavior when annex.stalldetection is configured
Make programPath never return "git-remote-annex" or other known multi-call
program names, which are not git-annex and won't behave like it.
If the git-annex binary gets installed under some entirely other name,
it will still return it.
This change exposed that readProgramFile actually could crash,
which happened before only if getExecutablePath was not absolute
and there was no ~/.config/git-annex/program. So fixed that to catch
exception.
Joey Hess [Mon, 25 Nov 2024 15:33:38 +0000 (11:33 -0400)]
comment
Joey Hess [Mon, 25 Nov 2024 15:31:20 +0000 (11:31 -0400)]
analysis
aaron [Mon, 25 Nov 2024 02:55:25 +0000 (02:55 +0000)]
Added a comment: Overriding git folder
kyle [Mon, 25 Nov 2024 02:23:25 +0000 (02:23 +0000)]
Added a comment: re: How to get a list of all NOT unused files
aaron [Mon, 25 Nov 2024 01:07:20 +0000 (01:07 +0000)]
aaron [Mon, 25 Nov 2024 01:06:54 +0000 (01:06 +0000)]
aaron [Mon, 25 Nov 2024 01:05:32 +0000 (01:05 +0000)]
aaron [Mon, 25 Nov 2024 01:02:53 +0000 (01:02 +0000)]
aaron [Mon, 25 Nov 2024 00:56:41 +0000 (00:56 +0000)]
aaron [Mon, 25 Nov 2024 00:56:17 +0000 (00:56 +0000)]
aaron [Mon, 25 Nov 2024 00:55:07 +0000 (00:55 +0000)]
Joey Hess [Thu, 21 Nov 2024 19:55:32 +0000 (15:55 -0400)]
show remote name when failing
to help debug strange git behavior on some daily builds
Joey Hess [Thu, 21 Nov 2024 19:35:06 +0000 (15:35 -0400)]
more fixing for building without servant
Joey Hess [Thu, 21 Nov 2024 19:34:07 +0000 (15:34 -0400)]
more fixing for building without servant
Joey Hess [Thu, 21 Nov 2024 19:21:08 +0000 (15:21 -0400)]
comment
Joey Hess [Thu, 21 Nov 2024 19:16:06 +0000 (15:16 -0400)]
Merge branch 'p2phttp-multi'
Joey Hess [Thu, 21 Nov 2024 19:09:12 +0000 (15:09 -0400)]
p2phttp: notice when new repositories are added to --directory
When a uuid is not known, rescan for new repositories. Easy.
When a repository is removed, it will also get removed from the server
state on the next scan. But until a new uuid is seen, there will not be
a scan. This leaves the server trying to serve a uuid whose repository
is gone. That seems buggy. While getting just fails, dropping fails the
first time, but seems to leave the server in an unusable state, so the
next drop attempt hangs. The server is still able to serve other uuids,
only the one whose repository was removed has that problem.
Joey Hess [Thu, 21 Nov 2024 18:18:18 +0000 (14:18 -0400)]
skip over repositories in --directory that do not have annex.uuid set
Joey Hess [Thu, 21 Nov 2024 18:15:14 +0000 (14:15 -0400)]
p2phttp support --jobs with --directory
--jobs is usually an Annex option setter, but --directory runs in IO, so
would not have that available. So instead moved the option parser into
the command's Options.
Joey Hess [Thu, 21 Nov 2024 17:53:23 +0000 (13:53 -0400)]
p2phttp --directory implementation
Untested, but it compiles, so.
Known problems:
* --jobs is not available to startIO
* Does not notice when new repositories are added to a directory.
* Does not notice when repositories are removed from a directory.
Joey Hess [Thu, 21 Nov 2024 16:24:14 +0000 (12:24 -0400)]
move the p2phttp server state map into a data type
Joey Hess [Wed, 20 Nov 2024 20:29:43 +0000 (16:29 -0400)]
fix to build w/o servant
Joey Hess [Wed, 20 Nov 2024 19:19:23 +0000 (15:19 -0400)]
fix windows build
Joey Hess [Wed, 20 Nov 2024 19:12:23 +0000 (15:12 -0400)]
in test suite display error from git push that fails to exit nonzero
Joey Hess [Wed, 20 Nov 2024 19:00:17 +0000 (15:00 -0400)]
git-remote-annex: Require git version 2.31 or newer
Since old ones had a buggy git bundle command.
In particular, git 2.30.2 has a git bundle that supports --stdin, but does
not read from it, and so fails to create a bundle.
While not using --stdin would perhaps work, it limits the number of revs
that get included in the bundle to the command line length limit.
But the real kicker is that at the same time --stdin got fixed, a bug also
got fixed that made git bundle skip including refs when they had the same
sha as other refs it included. Which would lead to data loss. So best to
avoid that buggy thing.
Joey Hess [Wed, 20 Nov 2024 17:41:40 +0000 (13:41 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 20 Nov 2024 17:41:34 +0000 (13:41 -0400)]
comment
Joey Hess [Wed, 20 Nov 2024 17:40:38 +0000 (13:40 -0400)]
document p2phttp --directory
The option is not implemented yet.
Joey Hess [Wed, 20 Nov 2024 17:18:25 +0000 (13:18 -0400)]
add proxied uuids to http server state map
This fixes support for proxying after last commit broke it.
Note that withP2PConnections is called at server startup, and so only
proxies seen at that point will appear in the map and be used. It was
already the case that a proxy added after p2phttp was running would not
be served.
I think that is possibly a bug, but at least this commit doesn't
introduce the problem, though it might make it harder to fix it.
As bugs go, it's probably not a big deal, because after all,
git configs needs to be set in the local repository, followed by
git-annex updateproxy being run, to set up proxying. If someone is doing
that, they can restart their http server I suppose.
Joey Hess [Wed, 20 Nov 2024 16:51:25 +0000 (12:51 -0400)]
p2pHttpApp with a map of UUIDs to server states
This is early groundwork for making p2phttp support serving multiple
repositories from a single daemon.
So far only 1 repository is served still. And this commit breaks support
for proxying!
yarikoptic [Wed, 20 Nov 2024 00:22:44 +0000 (00:22 +0000)]
Added a comment